<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2 required">项目所属区域:</label>
        <div class="col-xs-12 col-sm-8"> 
            <div class="col-xs-24 col-sm-24 form-inline" data-toggle="cxselect" data-url="/assets/libs/fastadmin-cxselect/js/cityData.min.json" data-selects="province,city,area"
                data-json-space="" data-json-name="n" data-json-value="">
                <select class="province form-control" name="row[province]" style="width: 33%;"  data-rule="required" data-first-title="选择省">
                    <option value="">请选择</option>
                    <option value="{$row.province}" selected="">{$row.province}</option>
                </select>
                <select class="city form-control" name="row[city]" style="width: 33%;" data-rule="required" data-first-title="选择市">
                    <option value="">请选择</option> 
                    <option value="{$row.city}" selected="">{$row.city}</option>
                </select>
                <select class="area form-control" name="row[area]" style="width: 30%;" data-rule="required" data-first-title="选择地区">
                    <option value="">请选择</option> 
                    <option value="{$row.area}" selected="">{$row.area}</option>
                </select>
            </div> 
        </div> 
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agent')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent" class="form-control" name="row[agent]" type="text" value="{$row.agent|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" class="form-control" name="row[code]" type="text" value="{$row.code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Word_unit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-word_unit" class="form-control" name="row[word_unit]" type="text" value="{$row.word_unit|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" class="form-control" step="0.01" name="row[money]" type="number" value="{$row.money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type" class="form-control" name="row[type]" type="text" value="{$row.type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" class="form-control" name="row[num]" type="number" value="{$row.num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-open_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[open_time]" type="text" value="{:$row.open_time?datetime($row.open_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Review_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-review_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[review_time]" type="text" value="{:$row.review_time?datetime($row.review_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Review_duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-review_duration" class="form-control" name="row[review_duration]" type="text" value="{$row.review_duration|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agent_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_name" class="form-control" name="row[agent_name]" type="text" value="{$row.agent_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agent_tel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_tel" class="form-control" name="row[agent_tel]" type="text" value="{$row.agent_tel|htmlentities}">
        </div>
    </div>
     
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2 required">评标地址:</label>
        <div class="col-xs-12 col-sm-8"> 
            <div class="form-inline" data-toggle="cxselect" data-url="/assets/libs/fastadmin-cxselect/js/cityData.min.json" data-selects="province,city,area"
                data-json-space="" data-json-name="n" data-json-value="">
                <select class="province form-control" name="row[pb_province]" style="width: 20%;" data-rule="required" data-first-title="选择省">
                    <option value="">请选择</option>
                    <option value="{$row.pb_province}" selected="">{$row.pb_province}</option>
                </select>
                <select class="city form-control" name="row[pb_city]" style="width: 20%;" data-rule="required" data-first-title="选择市">
                    <option value="">请选择</option> 
                   
                    <option value="{$row.pb_city}" selected="">{$row.pb_city}</option>
                </select>
                <select class="area form-control" name="row[pb_area]"  style="width: 20%;" data-rule="required" data-first-title="选择地区">
                    <option value="">请选择</option> 
                    <option value="{$row.pb_area}" selected="">{$row.pb_area}</option>
                </select>
                <input id="c-agent_tel" class="form-control" name="row[pb_address]" style="width:30%;"  data-rule="required" placeholder="请输入评标地址" type="text" value="{$row.pb_address|htmlentities}">
            </div> 
        </div> 
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Review_room')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-review_room" class="form-control" name="row[review_room]" type="text" value="{$row.review_room|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remarks" class="form-control " rows="5" name="row[remarks]" cols="50">{$row.remarks|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
